package net.sk.china.city.mapper;

import java.util.List;
import net.sk.china.city.domain.ArExchangeLocation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 兑换地点Mapper接口
 * 
 * @author gxf
 * @date 2024-04-25
 */
public interface ArExchangeLocationMapper extends BaseMapper<ArExchangeLocation>
{
    /**
     * 查询兑换地点
     * 
     * @param id 兑换地点主键
     * @return 兑换地点
     */
    public ArExchangeLocation selectArExchangeLocationById(Long id);

    /**
     * 查询兑换地点列表
     * 
     * @param arExchangeLocation 兑换地点
     * @return 兑换地点集合
     */
    public List<ArExchangeLocation> selectArExchangeLocationList(ArExchangeLocation arExchangeLocation);

    /**
     * 新增兑换地点
     * 
     * @param arExchangeLocation 兑换地点
     * @return 结果
     */
    public int insertArExchangeLocation(ArExchangeLocation arExchangeLocation);

    /**
     * 修改兑换地点
     * 
     * @param arExchangeLocation 兑换地点
     * @return 结果
     */
    public int updateArExchangeLocation(ArExchangeLocation arExchangeLocation);

    /**
     * 删除兑换地点
     * 
     * @param id 兑换地点主键
     * @return 结果
     */
    public int deleteArExchangeLocationById(Long id);

    /**
     * 批量删除兑换地点
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteArExchangeLocationByIds(Long[] ids);
}
